/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Domain;

/**
 *
 * @author Allen
 */
public enum State {
        C,E,R;
        private final static State [] state = values();
        public static State toState(int n) {return state [n];}
        public int toInt() {return ordinal();}
        public static int cardinality() {return state.length;}
    }